<!DOCTYPE html>
{% from 'bootstrap/pagination.html' import render_pagination %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {{ bootstrap.load_css() }}
</head>
<body>

<div class="container">
    <form class="form-inline">
        <div class="mr-3">
            <input type="checkbox" name="scale" value="小">小
        </div>
        <div class="mr-3">
            <input type="checkbox" name="scale" value="中">中
        </div>
        <div class="mr-3">
            <input type="checkbox" name="scale" value="大">大
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
</div>
<div class="container">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>id</th>
            <th>公司名称</th>
            <th>规模</th>
        </tr>
        </thead>
        <tbody>
        {% if data %}
        {% for i in data %}
        <tr>
            <td>{{ i.id }}</td>
            <td>{{ i.name }}</td>
            <td>{{ i.scale }}</td>
        </tr>
        {% endfor %}
        {% endif %}
        </tbody>
    </table>
</div>
<div>
    {{ render_pagination(pagination=pagination, args=args) }}
</div>
{{ bootstrap.load_js() }}
</body>
</html>